package top.lyc829.mymusic.model.http.api

import retrofit2.http.*
import top.lyc829.mymusic.model.bean.SongResult
import top.lyc829.mymusic.model.bean.SongUrlResult

/**
 * @Author lyc
 * @create 2021-07-17 23:50
 */
interface SongService {
//    @FormUrlEncoded
    @GET("/song/detail")
    suspend fun getSongs(@Query(value = "ids") ids: String) : SongResult

//    @FormUrlEncoded
    @GET("/song/url")
    suspend fun getSongsUrl(@Query(value = "id") id: String) : SongUrlResult
}